.remark-page {
  background-color: #f5f5f5;
  min-height: 100vh;
  padding-bottom: 2rem;
}

.error-message {
  padding: 2rem;
  text-align: center;
  color: #666;
}

.error-message p {
  margin-bottom: 1rem;
  font-size: 0.4rem;
}

/* 订单信息卡片 */
.order-info-card {
  margin: 0.3rem;
  border-radius: 0.2rem;
}

.order-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-info h3 {
  font-size: 0.42rem;
  font-weight: bold;
  margin-bottom: 0.2rem;
  color: #333;
}

.product-info p {
  font-size: 0.32rem;
  color: #666;
  margin-bottom: 0.1rem;
}

.product-list {
  margin: 0.2rem 0;
}

.product-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.2rem 0.3rem;
  background-color: #f8f8f8;
  border-radius: 0.16rem;
  margin-bottom: 0.2rem;
  font-size: 0.32rem;
}

.product-name {
  color: #333;
  font-weight: 500;
  flex: 1;
}

.product-price {
  color: #666;
  margin-left: 0.2rem;
}

/* 评分卡片 */
.rating-card {
  margin: 0.3rem;
  border-radius: 0.2rem;
}

.rating-section {
  padding: 0.4rem 0;
}

.rating-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.rating-title span:first-child {
  font-size: 0.36rem;
  font-weight: bold;
  color: #333;
}

.rating-text {
  font-size: 0.32rem;
  color: #ff6b35;
  font-weight: 500;
}

.rating-stars {
  display: flex;
  gap: 0.2rem;
}

.rating-stars .adm-rate-star {
  font-size: 0.6rem;
}

/* 评论卡片 */
.comment-card {
  margin: 0.3rem;
  border-radius: 0.2rem;
  width: calc(100% - 0.6rem);
  box-sizing: border-box;
}

.comment-section {
  padding: 0.4rem 0;
  width: 100%;
  box-sizing: border-box;
}

.comment-title {
  font-size: 0.36rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.4rem;
}

.comment-textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background-color: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 0.15rem;
  padding: 0.3rem;
  font-size: 0.32rem;
  line-height: 1.5;
  resize: none;
}

.comment-textarea::placeholder {
  color: #ccc;
}

/* 图片上传卡片 */
.image-card {
  margin: 0.3rem;
  border-radius: 0.2rem;
}

.image-section {
  padding: 0.4rem 0;
}

.image-title {
  font-size: 0.36rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.4rem;
}

.image-uploader {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
}

.image-uploader .adm-image-uploader-cell {
  width: 2rem;
  height: 2rem;
  border-radius: 0.15rem;
  border: 1px dashed #ccc;
  background-color: #fafafa;
}

.image-uploader .adm-image-uploader-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.15rem;
}

.image-uploader .adm-image-uploader-cell-add {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 0.5rem;
}

.image-uploader .adm-image-uploader-cell-add:hover {
  border-color: #1890ff;
  color: #1890ff;
}

/* 提交按钮区域 */
.submit-section {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  padding: 0.4rem 0.3rem;
  border-top: 1px solid #e8e8e8;
  z-index: 1000;
}

.submit-button {
  width: 100%;
  height: 1.2rem;
  border-radius: 0.2rem;
  font-size: 0.36rem;
  font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 375px) {
  .product-info h3 {
    font-size: 0.4rem;
  }
  
  .product-info p {
    font-size: 0.3rem;
  }
  
  .rating-title span:first-child,
  .comment-title,
  .image-title {
    font-size: 0.34rem;
  }
  
  .rating-text {
    font-size: 0.3rem;
  }
  
  .rating-stars .adm-rate-star {
    font-size: 0.55rem;
  }
  
  .comment-textarea {
    font-size: 0.3rem;
  }
  
  .submit-button {
    height: 1.1rem;
    font-size: 0.34rem;
  }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
  .remark-page {
    background-color: #1a1a1a;
  }
  
  .order-info-card,
  .rating-card,
  .comment-card,
  .image-card {
    background-color: #2a2a2a;
  }
  
  .product-info h3,
  .rating-title span:first-child,
  .comment-title,
  .image-title {
    color: #fff;
  }
  
  .product-info p {
    color: #ccc;
  }
  
  .comment-textarea {
    background-color: #333;
    border-color: #555;
    color: #fff;
  }
  
  .submit-section {
    background-color: #2a2a2a;
    border-top-color: #555;
  }
} 